//
//  ChooseGiftView.m
//  FlyGift
//
//  Created by lanou3g on 15/7/13.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "ChooseGiftView.h"

/**
 选礼神器 点击进入买卖页面
 */
@implementation ChooseGiftView
- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame])
    {
        UIImageView *imageView = [[UIImageView alloc]initWithFrame:CGRectMake(kP6width(25), kP6Height(10), kP6width(20), kP6Height(20))];
        imageView.image = [UIImage imageNamed:@"icon_function_close@2x"];
        [self addSubview:imageView];
        
        self.chooseLabel = [[UILabel alloc]initWithFrame:CGRectMake(kP6width(50), kP6Height(10), kP6width(200), kP6Height(20))];
        self.chooseLabel.text = @"选礼神器";
        self.chooseLabel.font = [UIFont systemFontOfSize:14];
        [self addSubview:_chooseLabel];
        
        UIImageView *imageViewicon = [[UIImageView alloc]initWithFrame:CGRectMake(frame.size.width - kP6width(30), kP6Height(10), kP6width(20), kP6Height(20))];
        imageViewicon.image = [UIImage imageNamed:@"icon_setting_items_arrow@3x"];
        [self addSubview:imageViewicon];
        
        UIView *view = [[UIView alloc]initWithFrame:CGRectMake(0, kP6Height(33), frame.size.width, 1)];
        view.backgroundColor = KColor(242, 243, 238, 1);
        [self addSubview:view];
    }
    return self;
}
@end
